home *** CD-ROM | disk | FTP | other *** search
- Path: news-m01.ny.us.ibm.net!usenet
- From: mitch@ibm.net
- Newsgroups: comp.lang.c++
- Subject: Re: 3D Dialog Boxes
- Date: Thu, 18 Jan 1996 19:24:04 GMT
- Organization: NRMA
- Message-ID: <4dk2nc$1uak@news-s01.ny.us.ibm.net>
- References: <4d98vr$5q6@felix.junction.net> <4dh6hk$4qn@moon.glo.be>
- NNTP-Posting-Host: slip202-135-13-100.sy.au.ibm.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- yanahond@glo.be (Thomas De Vos) wrote:
-
- >heppner@portage.net (Donald Heppner) wrote:
-
- >>I was wondering what is involved to make a dialog box 3D sytle in Borland
- >>C++ 4.0. If someone could tell me what to look up in the manuals, or can
- >>offer some advice, I would appreciate it.
-
- >>Thanks,
- >>Donald
-
- >I have also search for the 3D dialog boxes for a while !
- >what I found was that you must include the 3D library (ctl3d.lib)
-
- You will have to call the some of the functions in ctl3d.dll, namely
- (in Visual C++ it's like this):
-
- In your applications InitInstance():
-
- Ctl3dRegister(AfxGetInstanceHandle());
- Ctl3dAutoSubclass(AfxGetInstanceHandle());
-
- In your application's ExitInstance():
-
- Ctl3dUnregister(AfxGetInstanceHandle());
-
- In your Dialog's OnCtlColor (or equivalent)
-
- Ctl3dColorChange();
-
- You'll need to include ctl3d.h and ctl3d.dll will need to be in your
- path somewhere, probably windows. And link with ctl3d.lib.
-
- Mitch
-
-
-
-